home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1995 May / cd Ware (Juegos) Epimundo.iso / DOS / UT_SYSTM / VOL13N20.ZIP / PCMKEY.ZIP / PCMKEY.DOC < prev   
Encoding:
Text File  |  1994-10-25  |  6.0 KB  |  89 lines

  1. PCMKEY.COM (VERSION 1.0)               Copyright (c) 1994, Douglas Boling
  2. -------------------------------------------------------------------------
  3.              First Published in PC Magazine November 22, 1994 (Utilities)
  4. -------------------------------------------------------------------------
  5. PCMKEY by Douglas Boling
  6.  
  7. PURPOSE:
  8.            PCMKEY provides command stacking and alias translation for COMMAND.COM or other DOS command interpreters. Editing keys can be defined to suit the user.
  9. SETUP:
  10.            To install PCMKEY, type PCMKEY at a command line prompt. The command line switches are:
  11.                              /B = Set buffer size*
  12.                              /C = Toggle underline cursor for insert                                                         /D = Disable alias translation
  13.                              /E = Enable alias translation
  14.                              /F = Define filename of command file
  15.                              /I+ = Match case in search
  16.                              /I- = Ignore case in search
  17.                              /K = List key assignments
  18.                              /L = List aliases
  19.                              /M = Minimum command length to stack
  20.                              /P = Define command separator*
  21.                              /S = Set size of command stack*
  22.                              /U = Uninstall
  23.     
  24.                                   *Switches valid only at install time.REMARKS:
  25.           To create an alias, type the one-word name of the alias followed by the text to substitute for the alias. To assign a key, specify the key enclosed in square brackets followed by the text to insert or an editor command also enclosed in square brackets. The allowable editing commands are shown in the table below. Keys are specified by their lowercase letter (for alphabetic keys) or by their name. Below find a list of key names recognized by PCMKEY. Text aliases can include command line parameters and environment variables. Command line parameters are specified by %0 though %9; environment variables are enclosed in % signs. Multiple commands can be specified in an alias using the $t separator. If an alias is specified on the command line, the redirection and piping symbols >, <, and | can be specified using the $l, $g, and $b parameters.
  26.  
  27. These are the default assignments for the PCMKEY command line editor.
  28. --------------------------------------------------------------------
  29.  
  30. Key             Function
  31. Left Arrow      Moves the cursor one character to the left.
  32. Right Arrow     Moves the cursor one character to the right.
  33. Up Arrow        Recalls the previous command using any partial command
  34.                  as a search template.
  35. Down Arrow      Recalls the next command in the stack using any partial
  36.                  command as a search template.
  37. Home            Moves the cursor to the start of the command line.
  38. End             Moves the cursor to the end of the command line.
  39. Ins             Toggles the Insert/Overstrike mode.
  40. Del             Deletes the character at the current cursor position.
  41. Ctrl-Left       Moves the cursor one word to the left.
  42. Ctrl-Right      Moves the cursor one word to the right.
  43. Ctrl-End        Deletes all characters to the right of the cursor.
  44. Backspace       Deletes the character to the left of the cursor.
  45. Ctrl-Backspace  Deletes the word to the left of the cursor.
  46. Tab             Inserts eight spaces in the command.
  47. Escape          Clears the current command line.
  48. Enter           Ends the editing and sends the command to DOS.
  49. F3              Recalls the previous command without any search.
  50. F7              Lists stacked commands on the screen.
  51. F9              Selects stacked command by number.
  52. Alt-F7          Clears the command stack.
  53. Alt-F10         Clears the alias                                  list
  54. -------------------------------------------------------------------------
  55. This table lists the available editing functions in PCMKEY.
  56. -------------------------------------------------------------------------
  57. Editor Function         Description
  58.  
  59. curleft              Moves the cursor one character to the left.
  60. curright             Moves the cursor one character to the right.
  61. srchcmd              Recalls the previous command using any partial
  62.                        command as a search template.
  63. nextcmd                 Recalls the next command in the stack using any
  64.                        partial command as a search template.
  65. prevcmd              Recalls the previous command without any search.
  66. home                 Moves the cursor to the start of the command line.
  67. end                  Moves the cursor to the end of the command line.
  68. toggleins            Toggles the Insert/Overstrike mode.
  69. del                  Deletes the character at the current cursor position.
  70. prevword             Moves the cursor one word to the left.
  71. nextword             Moves the cursor one word to the right.
  72. del2eol              Deletes all characters to the right of the cursor.
  73. bksp                 Deletes the character to the left of the cursor.
  74. tab                  Inserts eight spaces in the command.
  75. clrcmd               Clears the current command line.
  76. wordbksp             Deletes the word to the left of the cursor.
  77. enter                Ends the editing and sends the command to DOS.
  78. dumpstack            Lists stacked commands on the screen.
  79. pickcmd              Selects stacked command by number.
  80. clrstack             Clears the command stack.
  81. clralias             Clears the alias list.
  82. abortcmd             Aborts the current entry and returns to COMMAND.COM.
  83. prefix1                 Defines first user-definable prefix key.
  84. prefix2                 Defines second user-definable prefix key.
  85. prefix3                 Defines third user-definable prefix key.
  86. nop                  Disables key
  87.                               --------------------------------------------------------------------------------
  88. Douglas Boling is a Contributing Editor of PC Magazine.
  89. --------------------------------------------------------------------------------